export const showModal = (option) => new Promise((resolve, reject) => wx.showModal({
    ...option,
    success: (res) => res.confirm ? resolve(res) : reject(res),
}));
